﻿using System;

namespace DataTable
{
    class Program
    {
        static void Main(string[] args)
        {
            


            int n = 2;
            string[] names = new string[n];
            int[] scores = new int[n];

            for (int i = 0; i < n; i++)
            {
                Console.Write("name: ");
                names[i] = Console.ReadLine();

                Console.Write("score: ");
                scores[i] = int.Parse(Console.ReadLine());
            }

            Console.Clear();

            // \t - tab
            // \n - new line
            Console.WriteLine("Name\tScore\n"); // Table Header


            for (int i = 0; i < n; i++)
            {
                Console.WriteLine("{0}\t{1}", names[i], scores[i]);
            }
        }
    }
}
